package com.neuedu.corejava.ch10test;

public class BankDepositor {
	//储存ID
	private String id;
	//储存名称
	private String name;
	//金额
	private double balance;
	public BankDepositor() {
		super();
	}
	public BankDepositor(String id, String name, double balance) {
		super();
		this.id = id;
		this.name = name;
		this.balance = balance;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getBalance() {
		return balance;
	}
	public void setBalance(double balance) {
		this.balance = balance;
	}
	
}
